<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/11
  Time: 19:00
  To change this template use File | Settings | File Templates.
--%>
<%--引入核心标签库--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>search页面</title>
</head>
<body>
<h1>查询结果</h1>
<table>
    <thead>
    <tr><th>用户ID</th>
        <th>用户名</th>
        <th>年龄</th>
        <th>性别</th>
        <th>住址</th>
        <th>薪金</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${userSearchList}" var="user">
        <tr>
            <td>${user.uid}</td>
            <td>${user.name}</td>
            <td>${user.age}</td>
            <td>${user.sex}</td>
            <td>${user.address}</td>
            <td>${user.sal}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>
<a href="/user/pageList">返回List页面</a>
</body>
</html>
